package org.springblade.modules.admin.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springblade.modules.admin.vo.InsuranceCompanyVO;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springblade.modules.admin.mapper.InsuranceCompanyMapper;
import org.springblade.modules.admin.entity.InsuranceCompany;
import org.springblade.modules.admin.service.InsuranceCompanyService;

@Service
public class InsuranceCompanyServiceImpl extends BaseServiceImpl<InsuranceCompanyMapper, InsuranceCompany> implements InsuranceCompanyService {

    @Override
    public IPage<InsuranceCompanyVO> selectInsuranceCompanyPage(IPage<InsuranceCompanyVO> page, InsuranceCompany insuranceCompany) {
        return page.setRecords(baseMapper.selectInsuranceCompanyPage(page, insuranceCompany));
    }
}

